from dataclasses import dataclass
from typing import Any, Dict, Optional


@dataclass
class ToolInvocation:
    tool: str
    tool_input: Dict[str, Any]
    tool_call_id: Optional[str] = None
